package com.stox.shared.core.util;

public abstract class DebugUtil {

	public static void printStack() {
		System.out.println(Thread.currentThread().getStackTrace()[2]);
	}
	
	public static String getCallingMethodName(){
		StackTraceElement element = Thread.currentThread().getStackTrace()[3];
		return element.getClassName()+"."+element.getMethodName()+"["+element.getLineNumber()+"]";
	}
}
